package com.lin.manager.system.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @作者: 林江
 * @创建时间: 2024/3/12
 * @功能:
 */
@Data
public class MenuVo {
    private Integer id;
    @ApiModelProperty("上级菜单")
    private Integer pid;
    @ApiModelProperty("菜单类型")
    private Integer type;
    @ApiModelProperty("菜单名称")
    private String name;
    @ApiModelProperty("菜单图标")
    private String icon;
    @ApiModelProperty("排序")
    private Integer sorted;
    @ApiModelProperty("菜单地址")
    private String path;
    @ApiModelProperty("权限字符")
    private String permission;
    @ApiModelProperty("组件路径")
    private String component;
    @ApiModelProperty("菜单状态")
    private Integer status;
    @ApiModelProperty("是否显示 0-否，1-是")
    private Integer hidden;
    @ApiModelProperty("是否缓存 0-否，1-是")
    private Integer isCache;
    private List<MenuVo> children;
}
